{extend name='admin@main'}

{block name="content"}

{include file='store@goods/form_style'}


<div class="layui-card-body think-box-shadow padding-left-40">
          <fieldset class="layui-elem-field layui-field-title" >
          <legend>基本信息</legend>
        </fieldset>
        <form class="layui-form layui-form-pane" action="">
          <div class="layui-form-item">
          <label class="layui-form-label">兼职标题</label>
          <div class="layui-input-block">
            <input name="title" value="{$result.title}" autocomplete="off" placeholder="请输入标题" class="layui-input" type="text">
            </div>
          </div>
          <div class="layui-form-item">
            <div class="layui-inline">
              <label class="layui-form-label">兼职类型</label>
              <div class="layui-input-inline">
                <input name="work_type" value="{$result.jobTypeName}" autocomplete="off" disabled="" class="layui-input" type="text">
              </div>
            </div>
            <div class="layui-inline">
              <label class="layui-form-label">薪资待遇</label>
              <div class="layui-input-inline">
                <input name="" value="{$result.salary}{$result.salary_unitCh}" autocomplete="off" disabled="" class="layui-input" type="text">
              </div>
            </div>
            <div class="layui-inline">
              <label class="layui-form-label">所需人数</label>
              <div class="layui-input-inline">
                <input name="need_worker" value="{$result.need_worker}" autocomplete="off" disabled="" class="layui-input" type="text">
              </div>
            </div>
            <div class="layui-inline">
              <label class="layui-form-label">联系人</label>
              <div class="layui-input-inline">
                <input name="contacts" value="{$result.contacts}" autocomplete="off" disabled="" class="layui-input" type="text">
              </div>
            </div>
            <div class="layui-inline">
              <label class="layui-form-label">联系电话</label>
              <div class="layui-input-inline">
                <input name="mobile" value="{$result.mobile}" autocomplete="off" disabled="" class="layui-input" type="text">
              </div>
            </div>
          </div>

          <div class="layui-form-item">
            <div class="layui-inline">
              <label class="layui-form-label">所在城市</label>
              <div class="layui-input-inline">
                <input name="provinces_name" value="{$result.provinces_name}" autocomplete="off" disabled="" class="layui-input" type="text">
              </div>
            </div>
            <div class="layui-inline">
              <label class="layui-form-label">详细地址</label>
              <div class="layui-input-inline">
                <input name="address" value="{$result.address}" autocomplete="off" disabled="" class="layui-input" type="text">
              </div>
            </div>
            <div class="layui-inline">
              <label class="layui-form-label">兼职时间</label>
              <div class="layui-input-inline">
                <input name="work_time" value="{$result.work_time}" autocomplete="off" disabled="" class="layui-input" type="text">
              </div>
            </div>
            <div class="layui-inline">
              <label class="layui-form-label">截止时间</label>
              <div class="layui-input-inline">
                <input name="number" autocomplete="off" disabled="" class="layui-input" type="text">
              </div>
            </div>
            <div class="layui-inline">
              <label class="layui-form-label">性别</label>
              <div class="layui-input-inline">
                <input name="" value="{$result.genderCh}" autocomplete="off" disabled="" class="layui-input" type="text">
              </div>
            </div>
          </div>
          <div class="layui-form-item">
            <div class="layui-inline">
              <label class="layui-form-label">是否置顶</label>
              <div class="layui-input-inline">
                <input name="number" value="{$result.is_top}" autocomplete="off" disabled="" class="layui-input" type="text">
              </div>
            </div>
            <div class="layui-inline">
              <label class="layui-form-label">结算方式</label>
              <div class="layui-input-inline">
                <input name="number" autocomplete="off" disabled="" class="layui-input" type="text">
              </div>
            </div>
            <div class="layui-inline">
              <label class="layui-form-label">浏览量</label>
              <div class="layui-input-inline">
                <input name="number" autocomplete="off" disabled="" class="layui-input" type="text">
              </div>
            </div>
            <div class="layui-inline">
              <label class="layui-form-label">报名人数</label>
              <div class="layui-input-inline">
                <input name="number" autocomplete="off" disabled="" class="layui-input" type="text">
              </div>
            </div>
            <div class="layui-inline">
              <label class="layui-form-label">分享次数</label>
              <div class="layui-input-inline">
                <input name="number" autocomplete="off" disabled="" class="layui-input" type="text">
              </div>
            </div>
          </div>
          <div class="layui-form-item">
            <div class="layui-inline">
              <label class="layui-form-label">收藏次数</label>
              <div class="layui-input-inline">
                <input name="number" autocomplete="off" disabled="" class="layui-input" type="text">
              </div>
            </div>
            <div class="layui-inline">
              <label class="layui-form-label">发布时间</label>
              <div class="layui-input-inline">
                <input name="number" autocomplete="off" disabled="" class="layui-input" type="text">
              </div>
            </div>
            <div class="layui-inline">
              <label class="layui-form-label">发布方式</label>
              <div class="layui-input-inline">
                <input name="number" autocomplete="off" disabled="" class="layui-input" type="text">
              </div>
            </div>
            <div class="layui-inline">
              <label class="layui-form-label">审核人</label>
              <div class="layui-input-inline">
                <input name="number" autocomplete="off" disabled="" class="layui-input" type="text">
              </div>
            </div>
            <div class="layui-inline">
              <label class="layui-form-label">状态</label>
              <div class="layui-input-inline">
                <input name="number" autocomplete="off" disabled="" class="layui-input" type="text">
              </div>
            </div>
          </div>

        <fieldset class="layui-elem-field layui-field-title" >
          <legend>其他信息</legend>
        </fieldset>
          <div class="layui-form-item ">
            <div class="layui-form-item block">
                  <span class="label-required-prev color-green">兼职内容</span>
                  <textarea name="content"></textarea>
            </div>
          </div>
          <div class="layui-form-item ">
            <div class="layui-form-item block">
                  <span class="label-required-prev color-green">工作要求</span>
                  <textarea name="content1"></textarea>
            </div>
          </div>
          <div class="layui-form-item ">
            <div class="layui-form-item block">
                  <span class="label-required-prev color-green">兼职福利</span>
                  <textarea name="content2"></textarea>
            </div>
          </div>
          <div class="layui-form-item ">
            <button class="layui-btn" type="submit">审核通过</button>
          </div>
        </form>
</div>

{/block}

{block name='script'}

<script>
  window.form.render();
  layui.use('laydate', function(){
    var laydate = layui.laydate;
    //常规用法
    laydate.render({
      elem: '#test1'
    });
    laydate.render({
      elem: '#test2'
    });
    
  });

  require(['ckeditor', 'angular'], function () {
     window.createEditor('[name="content"]', {height: 200});
     window.createEditor('[name="content1"]', {height: 200});
     window.createEditor('[name="content2"]', {height: 200});
   });
</script>

{/block}